package com.learn.dataOrigin;

/**
 * 数据结构
 * 节点
 * @param <E>
 */
public class Node<E> {
    public E item;//存放数据的泛值
    public Node<E> prev;
    public Node<E> next;

    public Node() {
        super();
    }

    Node(Node<E> prev, E element, Node<E> next) {
        this.item = element;
        this.prev = prev;
        this.next = next;
    }

}
